<div class="pa clearfix">
  <div class="span-p70 colborder">
    <h3><%= @action_title %></h3>
    <div>
      <%= form_for @building, :url => @action do |building| %>
        <p>
          <%= building.label :name,'办公楼名称', :class => 'block' %>
          <%= building.text_field :name, :class => 'full' %>
        </p>
        <p>
          <%= building.label :address,'地址', :class => 'block' %>
          <%= building.text_field :address, :class => 'full' %>
        </p>
        <div class="ma-bottom">
          <%= building.label :status,'状态', :class => 'block' %>
          <%= building.select :status, {'正常' => BUILDING_STATUS_USABLE, '禁用' => BUILDING_STATUS_DISABLE} %>
        </div>
        <p>
          <%= building.submit %>
        </p>
      <% end %>
    </div>
  </div>
  <div class="span-5 last">
    <%= render 'layouts/admin/users_sidebar' %>
  </div>
</div>